#ifndef DBUSIMPL_H
#define DBUSIMPL_H

#include <QObject>
#include "../../DbusInterfaces/dbusapp.h"
#include "mplayerwrapper.h"
#include "mdiareaplayer.h"

class DbusImpl : public DbusApp
{
    Q_OBJECT
public:
    explicit DbusImpl(QString appName, MdiAreaPlayer* displayPlayer, QObject *parent = 0);
    Q_INVOKABLE virtual void requestMedia(QString reqkey, QString askerApp, QString reqName, QString reqParam) ;
    Q_INVOKABLE virtual QString getInfo(QString infokey)  ;
    Q_INVOKABLE virtual void show();
    Q_INVOKABLE virtual void hide() ;

signals:

private slots:
    void displayKeyEvent(int keyCode);

private :
    MdiAreaPlayer* m_displayPlayer;
};

#endif // DBUSIMPL_H
